package gang.org.springframework.framework.metadata;

public abstract class GangRepeatableContainers
{
    private final GangRepeatableContainers parent;

    public GangRepeatableContainers(GangRepeatableContainers parent) {
        this.parent = parent;
    }

    /**
     * TODO 业务意义？
     * */
    public static GangRepeatableContainers none (){
        return NoRepeatableContainers.INSTANCE;
    }

    public static GangRepeatableContainers standardRepeatable(){
        return GangStandardRepeatableContainers.INSTANCE;
    }

    /**
     * TODO 业务意义？
     *
     * */
    private static class NoRepeatableContainers extends GangRepeatableContainers
    {
        private static NoRepeatableContainers INSTANCE = new NoRepeatableContainers();

        NoRepeatableContainers() {
            super(null);
        }
    }

    /**
     * TODO 业务意义？
     *
     * */
    private static class GangStandardRepeatableContainers extends GangRepeatableContainers{

        private static GangStandardRepeatableContainers INSTANCE = new GangStandardRepeatableContainers();

        public GangStandardRepeatableContainers() {
            super(null);
        }
    }
}
